package com.onlinelearn.userservice.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import java.util.List;

@Entity
@DiscriminatorValue("TEACHER")
public class Teacher extends User {
    private List<Long> createdCourseIds;
    private String professionalTitle;

    // 构造函数、Getter和Setter
} 